import request from '@/config/axios'

export interface materialPickVO {
  orderCode: string,
  type: string,
  code: string,
  specification: string,
  racketModel: string
  sheetNum: string,
  weight: string,
  cutSize: string,
  knivesNum: string,
  amount: string,
  materialsCut: string,
  addLayers: string,
  materialStatus: string
}

// 查询
export const getmaterialPick = (params: PageParam) => {
  return request.get({ url: '/project/order/getHisMaterialByOrderCode', params })
}

// 查询出库单号
export const getmaterialPickExcode = (data) => {
  return request.get({ url: '/project/order/getExCodeByOrderCode?orderCode='+data })
}

// 审核
export const materialPickCheck = (data) => {
  return request.post({ url: '/project/kis-materiel-ex-warehouse/updateMateria', data })
}

